package com.fs.jzzn.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.fs.jzzn.pojo.AssistUnit;
/**
 * @author TiddlerCJ
 */
public interface AssistUnitRepository extends JpaRepository<AssistUnit,String>, JpaSpecificationExecutor<AssistUnit>{
	AssistUnit findByName(String name);
	
	//@Query(value=" SELECT *  FROM p_assist_unit  a  where  a.creater_id=?1 limit 1  ",nativeQuery=true)
	//AssistUnit findByCreaterId(String createrId);
}
